package com.hushan.elevator.service;

import com.hushan.elevator.model.DeviceDhcpConfig;

import java.time.LocalDateTime;
import java.util.List;

public interface DeviceDhcpConfigService {
    List<DeviceDhcpConfig> findAllDeviceDhcpConfigs();
    DeviceDhcpConfig findDeviceDhcpConfigById(Integer id);
    List<DeviceDhcpConfig> findDeviceDhcpConfigsByDeviceNetworkConfigId(Integer deviceNetworkConfigId);
    List<DeviceDhcpConfig> findDeviceDhcpConfigsByIpAddress(String ipAddress);
    List<DeviceDhcpConfig> findDeviceDhcpConfigsByIsDeleted(Boolean isDeleted);
    List<DeviceDhcpConfig> findDeviceDhcpConfigsByCreatedTimeBetween(LocalDateTime start, LocalDateTime end);
    List<DeviceDhcpConfig> findDeviceDhcpConfigsByUpdatedTimeBetween(LocalDateTime start, LocalDateTime end);
    void saveDeviceDhcpConfig(DeviceDhcpConfig deviceDhcpConfig);
    void deleteDeviceDhcpConfig(Integer id);
}
